package com.sudo.dao.admin.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "sys_user_role")
public class SysUserRole {
    /**
     * 用户名
     */
    @Column(name = "userName")
    private String username;

    /**
     * 角色代码
     */
    @Column(name = "roleCode")
    private String roleCode;

    /**
     * 获取用户名
     *
     * @return userName - 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名
     *
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
}
